package com.supcon.exchangedata.pojo.entity.mysql.operation.sw;

import lombok.Data;

import javax.persistence.*;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * @Author: yangbin
 * @Date: 2022/12/20/14:53
 * @Description: 
 */
/**
    * 水务生产设施基础信息(项目组推送)
    */
@Entity
@Data
@Table(name = "sw_basic_info", schema = "hzcjtz_water_coll", catalog = "")
public class SwBasicInfo {
    /**
     * 自增序列
     */
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    @Column(name = "tongid")
    private Long tongid;

    /**
     * 区域code
     */
    @Column(name = "area_code")
    private String areaCode;

    /**
     * 区域名称
     */
    @Column(name = "area_name")
    private String areaName;

    /**
     * 区域类别
     */
    @Column(name = "area_type")
    private String areaType;

    /**
     * 经度
     */
    @Column(name = "latitude")
    private String latitude;

    /**
     * 纬度
     */
    @Column(name = "longitude")
    private String longitude;

    /**
     * 区域类型名称
     */
    @Column(name = "name")
    private String name;

    /**
     * 供排水设计量
     */
    @Column(name = "plan_data")
    private String planData;

    /**
     * 备注
     */
    @Column(name = "remarks")
    private String remarks;

    /**
     * 时间
     */
    @Column(name = "create_date")
    private String createDate;

    /**
     * 增量数据操作
     */
    @Column(name = "op")
    private String op;

    /**
     * 业务数据产生时间
     */
    @Column(name = "biz_time")
    private LocalDate bizTime;

    /**
     * 数据插入时间
     */


    @Column(name = "tong_time")
    private LocalDateTime tongTime;

}